package com.linwen.dataStructure.list.arrayList;

import static com.linwen.javase.MyPrint.*;
public class TestMyArray {

	public static void main(String[] args) {
		MyArrayList arr = new MyArrayList();
		arr.insert(5);
		arr.insert(7);
		arr.insert(8);
		arr.insert(9);
		arr.display();
		print();
		print(arr.search(9));
		print(arr.search(1));
		print(arr.getIndex(1));
		arr.delete(1);
		arr.display();
		print();
		arr.upData(1, 180);
		arr.display();
	}
}
